(function(d,e,f){function g(){var a,b;if(typeof window.innerWidth==="number"){a=window.innerWidth;b=window.innerHeight}else{a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}return{x:a,y:b}}function c(){var a=document.getElementById(d);if(a.style.display!="none"&&a.style.visibility!="hidden"){var b=g(),h=a.offsetWidth,i=a.offsetHeight;if(e){a.style.left=Math.round((b.x-h)/2)+"px";a.style.marginLeft="0px"}if(f){a.style.top=Math.round((b.y-i)/2)+"px";a.style.marginTop="0px"}a.style.visibility=
"visible"}}window.addEventListener?window.addEventListener("DOMContentLoaded",c,false):document.attachEvent("onDOMContentLoaded",c)})($el,$centerX,$centerY);
